package countingFileWords;

import java.io.File;
import java.util.HashMap;

public class Test {
	public static void main(String[] args) throws Exception{
		HashMap <String,Integer> map = new HashMap<>();
		String sourceFile = "D:" + File.separator +"temp" + File.separator+ "了不起的盖茨比英文.txt";
		String toFile = "D:" + File.separator +"temp" + File.separator + "output.txt";
		CountingFileWords.count(sourceFile, map);
		//CountingFileWords.count("D:/temp/了不起的盖茨比英文.txt", map);
		CountingFileWords.resualt(toFile,map);
	}
}
